package com.tjetc.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tjetc.entity.Admin;
import com.tjetc.entity.RelativeInfo;
import org.apache.ibatis.annotations.Param;

public interface RelativeInfoMapper extends BaseMapper<RelativeInfo> {
    Page<RelativeInfo> selectPageLikeName(Page<RelativeInfo> pageRelativeInfo, String name);
    RelativeInfo selectByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
    RelativeInfo selectByUsername(String username);
}
